package com.anolesoft.twelvePlan.dto;

import com.anolesoft.twelvePlan.listener.LocalDateTimeDeSerializer;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @author zyq
 * @date 2022/7/12
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class MesPlanXiadaFuzerenDTO {
    private String objuid;
    private String mesPlanXiadaUid;
    private String stfEmployeeUid;
    @JsonDeserialize(using = LocalDateTimeDeSerializer.class)
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime createTime;
    private String createuid;

    private String name;
}
